import CommonApi from '@/api/CommonApi'
import request from '@/utils/request'

class EmsMaterialReqMng extends CommonApi {
  getDetailData(mainId, replaceFlag, replaceDetailLotFlag) {
    return request({
      url: this.prefixurl + '/getDetailData',
      method: 'get',
      params: {
        mainId,
        replaceFlag,
        replaceDetailLotFlag
      }
    })
  }
}

export default new EmsMaterialReqMng('prod-service/api/emsMaterialReqMng')
